<%@ page contentType="text/javascript"%> 

// Add a reference to the new plugin 
CKEDITOR.plugins.addExternal('pbckcode', 
'${request.contextPath}/js/ckeditor/plugins/pbckcode/'); 

CKEDITOR.editorConfig = function( config ) 
{ 
        // Declare the additional plugin 
        config.extraPlugins = 'pbckcode'; // Additional plugin 

    // EXAMPLE TOOLBAR USING THE NEW PLUGIN 
    config.toolbar_custom = [ 
        ['Templates', 
'Styles','Format','Font','FontSize','TextColor','BGColor','Maximize','Image'], 
        ['Source'], 
        ['Bold','Italic','Underline','Strike','-','Subscript','Superscript','-','SpellChecker', 
'Scayt'], 
        ['Table','HorizontalRule'], 
        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], 
        ['pbckcode'] 
    ] 
}; 